package com.unicair.hancher.disableapp.utils;

import android.graphics.drawable.Drawable;

/**
 * 作者：Hancher
 * 时间：2019/1/12.
 * 邮箱：ytu_shaoweijie@163.com
 * 版本：v1.0
 * <p>
 * 说明：
 */
public class AppInfoBean {

    private String launcherActivity;
    private boolean isEnabled;
    private Drawable icon;
    private CharSequence name;
    private String packageName;
    private boolean isSystemApp;
    private boolean isSystemUpdateApp;
    private boolean isInSd;

    public Drawable getIcon() {
        return icon;
    }

    public AppInfoBean setIcon(Drawable icon) {
        this.icon = icon;
        return this;
    }

    public CharSequence getName() {
        return name;
    }

    public AppInfoBean setName(CharSequence name) {
        this.name = name;
        return this;
    }

    public String getPackageName() {
        return packageName;
    }

    public AppInfoBean setPackageName(String packageName) {
        this.packageName = packageName;
        return this;
    }

    public boolean isSystemApp() {
        return isSystemApp;
    }

    public AppInfoBean setSystemApp(boolean systemApp) {
        isSystemApp = systemApp;
        return this;
    }

    public boolean isSystemUpdateApp() {
        return isSystemUpdateApp;
    }

    public AppInfoBean setSystemUpdateApp(boolean systemUpdateApp) {
        isSystemUpdateApp = systemUpdateApp;
        return this;
    }

    public boolean isInSd() {
        return isInSd;
    }

    public AppInfoBean setInSd(boolean inSd) {
        isInSd = inSd;
        return this;
    }

    public String getLauncherActivity() {
        return launcherActivity;
    }

    public AppInfoBean setLauncherActivity(String launcherActivity) {
        this.launcherActivity = launcherActivity;
        return this;
    }

    public boolean isEnabled() {
        return isEnabled;
    }

    public AppInfoBean setEnabled(boolean enabled) {
        isEnabled = enabled;
        return this;
    }
}
